package com.jzo2o.customer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jzo2o.customer.model.domain.BankAccount;
import com.jzo2o.customer.model.dto.request.BankAccountUpsertReqDTO;

public interface IBankAccountService extends IService<BankAccount> {

    /**
     * 新增银行账户
     * @param reqDTO
     * @return
     */
    Boolean add(BankAccountUpsertReqDTO reqDTO);

    /**
     * 查询当前用户账户
     * @return
     */
    BankAccount getByUserId();
}
